/**
 * 基础路由
 * @type { *[] }
 */

const constantRouterMap = [
  {
    path: '/',
    name: 'index',
    redirect: { name: 'JiaoDianIndex' },
    children: [
      {
        path: '/example',
        name: 'JiaoDianIndex',
        component: () => import('@/views/main/index.vue')
      },
    ]
  },
  {
    path: '/user',
    children: [
      {
        path: 'login',
        name: 'login',
        component: () => import('@/views/login/login.vue')
      },
    ]
  },
]

export default constantRouterMap
